package com.gbk.clickhouseservicestruct.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.myweb.ck.mapping.ChTable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @projectName: nacos-server-parent
 * @packageName: com.les.its.ds.model
 * @author: whr
 * @description:
 * @date: 2024/8/29
 * @version: 1.0
 * @modifyHistory:
 */
@ChTable(name = "tig.T_TIG_MODE_RECORD")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TIG_MODE_RECORD {

    private String signalController_id;
    private Integer area_no;
    private Integer junc_no;
    private Integer control_mode;
    private Integer iden;
    private Integer crossing_seq_no;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date date_time;
}
